<template>
	<view>
		<view class="my-component customer" @click="onLink"></view>
		<view class="text-center close-icon"><uni-icons type="close" size="36" color="#FFF" @click="onClose"></uni-icons></view>
	</view>
</template>

<script>
	export default {
		name:"activityTip",
		data() {
			return {
				
			};
		},
		methods: {
			onLink(){
				let _this = this
				wx.navigateToMiniProgram({
					appId: 'wx87fdb9b285450ef4',  //appid
					path: '/page/home/home_index/home_index',//path
					extraData: {  //参数
				
					},
					envVersion: 'release', //开发版develop 开发版 trial   体验版 release 正式版 
					success(res) {
						_this.$emit('activityTipStatus', false);
					}
				})
			},
			onClose(){
				this.$emit('activityTipStatus', false);
			}
		}
	}
</script>

<style>
.my-component{background: url(https://xinzhu-1301398555.cos.ap-shanghai.myqcloud.com/wxapp/activity_tip.png) center center no-repeat;text-align: center;background-size: 100% 100%;width: 300px;height: 400px;}
.close-icon{position: relative;top: 100%;}
</style>